package com.satan.fmmall.service;

import com.satan.fmmall.vo.ResultVo;
import org.springframework.transaction.annotation.Transactional;

public interface UserService {
    //用户注册
    @Transactional
    public ResultVo userResgit(String username, String password);

    //用户登录
    public ResultVo checkLogin(String username, String password);

    public ResultVo getUserInfoByToken(String token);

    public ResultVo logout(String token);
}
